package com.briup.cms.domain.param;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class ArticleQueryParam {
    int pageNum;
    int pageSize;
    Integer categoryId;
    String status;
    String title;
    Integer charged;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime endTime;
}
